package com.cac.demo.newCode.materialStorage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cac.demo.newCode.materialStorage.entity.WmsItemInventory;
import com.cac.demo.newCode.sorting.dto.StockDTO;
import com.cac.demo.newCode.sorting.entity.MsAoMatchBill;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 库存台账表 Mapper 接口
 * </p>
 *
 * @author xz
 * @since 2024-08-27
 */
@Mapper
public interface WmsItemInventoryMapper extends BaseMapper<WmsItemInventory> {
    void UpdateinvStatus();
    int usableCount(@Param("startPlaneNo")String startPlaneNo,@Param("departCode")String departCode,@Param("msAoMatchBill") MsAoMatchBill msAoMatchBill);
    List<StockDTO> usableMaterial(@Param("startPlaneNo")String startPlaneNo, @Param("departCode")String departCode, @Param("msAoMatchBill")MsAoMatchBill msAoMatchBill);
}
